# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=blackarch-config-calamares
pkgver=20.b453a21
pkgrel=1
pkgdesc='BlackArch config for the calamares installer.'
arch=('any')
groups=('blackarch-config')
url='https://github.com/BlackArch/blackarch-config-calamares'
license=('custom:unknown')
depends=('calamares')
makedepends=('git')
source=("git+https://github.com/BlackArch/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -dm 755 "$pkgdir/etc/calamares"

  cp -a calamares/* "$pkgdir/etc/calamares"
}

